const getters = {
  token: state => state.user.token,
  avatar: state => state.user.userInfo.staffPhoto,
  name: state => state.user.userInfo.username,
  userid: state => state.user.userInfo.userId
}
export default getters